Skip to content

Allow Specific rockstar license holders to join even if the duplicate license check is enabled#1154

Closed
farhannisar306 wants to merge 4 commits intoqbcore-framework:mainfrom
farhannisar306:main
Closed

Allow Specific rockstar license holders to join even if the duplicate license check is enabled#1154
farhannisar306 wants to merge 4 commits intoqbcore-framework:mainfrom
farhannisar306:main

Conversation

@farhannisar306
Copy link

Description

Enhanced duplicate license check functionality by allowing specific Rockstar license holders to bypass the check when enabled. Added support for configurable exceptional licenses in QBConfig.Server.ExceptionalLicenses

Checklist

  • I have personally loaded this code into an updated qbcore project and checked all of its functionality.
  • My code fits the style guidelines.
  • My PR fits the contribution guidelines.

Implemented an "exceptional licenses" logic to let shared account players play
Added 2 sample licenses to be "exceptional"
@Cocodrulo
Copy link
Contributor

Cocodrulo commented Jan 10, 2025

I think this PR is a little noise, if you could try to add early return to avoid that much indentation, it would be great.

Thanks for trying to add to the QBCore framework btw!! Keep it up.

@github-actions
Copy link

This PR has had 60 days of inactivity & will close within 7 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants